@layout("/common/_container.html",{js:["/assets/basic/archiveBox/archiveBox_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="archiveBoxForm" lay-filter="archiveBoxForm" class="layui-form model-form layui-form-pane" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>

                <div class="layui-form-item">
                    <label class="layui-form-label">档案柜层<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="ssdasid" name="ssdasid" type="hidden"/>
                        <input id="ssdagid" name="ssdagid" type="hidden"/>
                        <input id="ssdagcid" name="ssdagcid" type="hidden"/>
                        <#tree name="dag" url="/archiveDic/archiveLayer" linkage="true"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">序号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="xh" name="xh" placeholder="请输入序号" type="number" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">编号</label>
                    <div class="layui-input-block">
                        <input id="bh" name="bh" placeholder="请输入编号" type="text" class="layui-input"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="mc" name="mc" placeholder="请输入名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属部门<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <#tree name="ssbmid" url="/archiveDic/commonTree?table=sys_dept&id=dept_id&parentId=pid&startId=0&text=full_name"/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">档案类型<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <#tree name="ssdalxid" url="/archiveDic/listTypeDict"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属年度<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <#dic name="ssnd" dic="ARCHIVE_YEAR"/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <input id="beiz" name="beiz" placeholder="请输入备注" type="text" class="layui-input"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}